package networkdescriptor;

public class NetworkDescriptor {

	private String hostname;
	private int portNumber;
	
	public NetworkDescriptor(){
		this.hostname = "" ;
		this.portNumber = 0;
	}
	public NetworkDescriptor(String hostname, int portNumber) {
		this.hostname = hostname;
		this.portNumber = portNumber;
	}
	public String getHostname() {
		return hostname;
	}
	public int getPortNumber() {
		return portNumber;
	}
	public void setHostname(String hostname) {
		this.hostname = hostname;
	}
	public void setPortNumber(int portNumber) {
		this.portNumber = portNumber;
	}
	
	
}
